import { createStore } from 'vuex'
import * as actions from './actions';
import * as getters from './getters';
import * as mutations from './mutations';

const state = {
  user:{
    id:"",
    name: "",
  },
  hasLogin: false,
  shoppingCart: []
}


const store = createStore({
  state: state,
  mutations: mutations,
  actions: actions,
  getters: getters,
})

export default store
